class

class
= class type
класс, тип объекта
одно из основных понятий ООП. Класс - это объявление структуры данных, объединяющее объекты с одинаковыми свойствами (полями) и методами (поведением). Такие объекты называются экземплярами этого класса и обычно соответствуют сущностям реального мира в деловой или предметной области (то есть это могут быть, например, люди, должности или предметы). Иначе можно сказать, что из определения класса (class definition) в программе можно создать любое количество объектов. Класс иногда называют типом объектов, так как идея объединения в объекте функций с данными тесно связана с понятием типа данных (data type) в процедурных ЯВУ. Класс может наследовать свойства других классов. Свойства объектов могут быть трёх видов: атрибуты (см. attribute), или поля, процедуры или услуги, предоставляемые объектом (см. method) и правила (инварианты), устанавливающие взаимосвязи свойств объекта или определяющие условия его жизнеспособности.

When you need to use the class, you must create an instance of the object (W. Rubin). — Чтобы применить данный класс, необходимо создать экземпляр объекта (см. invariant) см. тж. abstract class, abstract data type, anonymous class, base class, class diagram, class file, class hierarchy, class invariant, classless inheritance, class interface, class library, class loader, class member, class method, class-oriented, class structure, class variable, concrete class, derived class, final class, friend, inheritance, instance, metaclass, object type, OOP, parameterized class, subclass, superclass, template class


Англо-русский толковый словарь терминов и сокращений по ВТ, Интернету и программированию. . 1998-2007.

Игры ⚽ Нужен реферат?

Полезное


Смотреть что такое "class" в других словарях:

  • Class — may refer to: Contents 1 General 2 Media and entertainment 3 Computing 4 Railroads General Class ( …   Wikipedia

  • Class A — may refer to: Class A airfield, a standardised design for military airfields built throughout Britain from 1942 Class A airspace, an airspace class defined by the ICAO class A amplifier, a category of electronic amplifier Class A baseball, one of …   Wikipedia

  • Class 9 — Class 9, Class 09 and Class IX may refer to: BR Standard Class 9F, a steam locomotive class of the United Kingdom British Rail Class 09, a diesel locomotive class of the United Kingdom Eurotunnel Class 9, an electric class locomotive GCR Class 9F …   Wikipedia

  • Class 8 — may refer to: 8 Metre (keelboat) British Rail Class 08 BR Standard Class 8 First Class 8 GCR Class 8 HAZMAT Class 8 Corrosive Substances L YR Class 8 NSB Class 8, a standard gauge steam locomotive of Norway NSB Class VIII, a narrow gauge steam… …   Wikipedia

  • Class — (kl[.a]s), n. [F. classe, fr. L. classis class, collection, fleet; akin to Gr. klh^sis a calling, kalei^n to call, E. claim, haul.] 1. A group of individuals ranked together as possessing common characteristics; as, the different classes of… …   The Collaborative International Dictionary of English

  • Class II — may refer to: Class II appliance Class II bacteriocin Class II cabinet Class II gene Class II PI 3 kinases Class II railroad Class II star MHC class II This disambiguation page lists articles associated with the same ti …   Wikipedia

  • Class of '55 — Studio album by Johnny Cash, Jerry Lee Lewis, Roy Orbison, Carl Perkins Released 1986 …   Wikipedia

  • Class 43 — may refer to British Rail Class 43 (HST), power cars for the British InterCity 125 high speed train British Rail Class 43 (Warship Class), a type of British diesel hydraulic locomotive DRG Class 43, a German standard steam locomotive class… …   Wikipedia

  • Class — (kl[.a]s), v. t. [imp. & p. p. {Classed} (kl[.a]st); p. pr. & vb. n. {Classing}.] [Cf. F. classer. See {Class}, n.] 1. To arrange in classes; to classify or refer to some class; as, to class words or passages. [1913 Webster] Note: In scientific… …   The Collaborative International Dictionary of English

  • Class of 74 — Format soap opera Created by ?? Developed by Reg Grundy Organisation Starring Leonard Teale, John Hamblin, Gordon Glenwright …   Wikipedia

  • Class 2 — may refer to: Class 2, a speed class rating for Secure Digital cards NSB El 2, an electric locomotive of Norway NSB Di 2, a diesel locomotive of Norway Class 2 Touring Cars was an FIA classification for cars in auto racing Classes of U.S.… …   Wikipedia


Поделиться ссылкой на выделенное

Прямая ссылка:
Нажмите правой клавишей мыши и выберите «Копировать ссылку»